]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Don't exit out early if we have a left timeout
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 28 May 2014 19:02:40 +0000 (15:02 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 2 Jun 2014 21:39:51 +0000 (17:39 -0400)
Otherwise, we won't mark the pointer as hovering on the notification.

https://bugzilla.gnome.org/show_bug.cgi?id=731118

js/ui/messageTray.js

index 891bab2a4de09ee0cd32bf9cf79d0f80aa9d2ec0..948a5b88c09670ee3eac261d6eaafe224fa7cf45 100644 (file)
@@ -2283,7 +2283,6 @@ const MessageTray = new Lang.Class({
                 this._notificationLeftTimeoutId = 0;
                 this._notificationLeftMouseX = -1;
                 this._notificationLeftMouseY = -1;
-                return;
             }
 
             if (this._showNotificationMouseX >= 0) {
@@ -2301,6 +2300,7 @@ const MessageTray = new Lang.Class({
                     return;
                 }
             }
+
             this._pointerInNotification = true;
             this._updateState();
         } else {